<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>ETLinking</title>
  {% include '/shared/reference_base.html' %}
</head>
<body id="page_body" style="background:#fff;">
  <div class="body_main">
  <div class="wrapper body_header">
    <div id="navLanguage" class="nav_language">
      <a href="javascript:;" class="zh_CN">简体中文</a>|
      <a href="javascript:;" class="zh_Hans">繁體中文</a>|
      <a href="javascript:;" class="en_US">English</a>
    </div>
    <div class="logo">
      <a href="/index">
        <img src="../static/images/logo.png"/>  
      </a>
    </div>
    <div class="nav_menu">
      <ul>
        <li class="Index">
          <a href="/index">{{layoutRes.menuHome}}</a>
        </li>
        <li class="Product">
          <a href="/product">{{layoutRes.menuProducts}}</a>
        </li>
        <li class="Shop">
          <a href="http://etspace.taobao.com" target="_blank">{{layoutRes.menuShop}}</a>
        </li>
        <li class="News">
          <a href="/news/index">{{layoutRes.menuNews}}</a>
        </li>
        <li class="About">
          <a href="/about">{{layoutRes.menuAbout}}</a>
        </li>
      </ul>
    </div>
    {% if user_info == None %}
    <div class="nav_right">
      <a class="linkRegister" href="###">{{layoutRes.register}}</a>|<a class="linkLogin" href="###">{{layoutRes.signIn}}</a>
    </div>
    {% else %}
    <div id="userMenum" class="select_wapper">
      <a class="select_title" href="/dashboard/index">
        {{user_info.user_name}}
        <em class="select_arr"></em>
      </a>
      <div class="select_pop">
        <ul>
          <li><a href="/user/user_info">{{layoutRes.setting}}</a></li>
          <li><a href="/user/logout">{{layoutRes.logout}}</a></li>
        </ul>
      </div>
    </div>
    {% endif %}
  </div>
  <div class="main">
    {% block indexContent %}{% endblock %}
  </div>
  <div class="copyright">
    <div class="wrapper info">
      Copyright@2013 ETLinking All Rights Reserved.
      <a href="http://www.miitbeian.gov.cn" target="_blank">京ICP备13024118号</a>
      <a href="http://www.miitbeian.gov.cn/" target="_blank">京公网安备11010802012608号</a> 
    </div>
  </div>

  <div class="et_form loginContainer" style="display:none;">
    <h1>{{layoutRes.lblLogin}}</h1>
    <h2>{{layoutRes.lblLoginDes}}</h2>
    <ul>
      <li>
        <label>{{layoutRes.lblEmail}}：</label>
        <input class="txtEmail" type="text" value="" />  
        <span></span>
      </li>
      <li>
        <label>{{layoutRes.lblPwd}}：</label>
        <input class="txtPwd" type="password" value="" />  
        <span></span>
      </li>
      <li>
        <label class="rember">
          <input class="form_chk chkRember" type="checkbox" checked="" />  
          {{layoutRes.chkRember}}
        </label>
        <span>
          <a class="linkForget" href="###">{{layoutRes.linkRemberPwd}}</a>
          |
          <a class="linkRegister" href="###">{{layoutRes.linkRegister}}</a>
        </span>
      </li>
    </ul>
    <div class="bottom">
      <button class="form_button btnLogin">{{layoutRes.btnLogin}}</button>
       <div class="loading"></div>
    </div>
    <div class="result"></div>
  </div>
  <div class="et_form registerContainer" style="display:none;">
    <h1>{{layoutRes.lblUserRegister}}</h1>
    <ul>
      <li>
        <label>{{layoutRes.lblUserName}}：</label>
        <input class="txtUserName" type="text" value="" />  
        <span></span>
      </li>
      <li>
        <label>{{layoutRes.lblEmail}}：</label>
        <input class="txtEmail" type="text" value="" />  
        <span></span>
      </li>
      <li>
        <label>{{layoutRes.lblPwd}}：</label>
        <input class="txtPwd" type="password" value="" />  
        <span></span>
      </li>
      <li>
        <label>{{layoutRes.lblConfirmPwd}}：</label>
        <input class="txtConfirmPwd" type="password" value="" />  
        <span></span>
      </li>
    </ul>
    <div class="bottom">
      <button class="form_button btnRegister">{{layoutRes.btnRegister}}</button>
      <a class="linkLogin" href="###">{{layoutRes.linkLogin}}</a>
      <div class="loading"></div>
    </div>
    <div class="result"></div>
  </div>

  <div class="et_form forgetContainer" style="display:none;">
    <h1>{{layoutRes.lblForgetPwd}}</h1>
    <h2>{{layoutRes.lblForgetPwdDesc}}</h2>
    <ul>
      <li>
        <label>{{layoutRes.lblEmail}}：</label>
        <input class="txtEmail" type="text" value="" />
        <span></span>
      </li>
    </ul>
    <div class="bottom">
      <button class="form_button btnReset">{{layoutRes.btnResetPwd}}</button>
      <span>
        <a class="linkLogin" href="###">{{layoutRes.linkGoBack}}</a>
      </span>
      <div class="loading"></div>
    </div>
    <div class="result"></div>
  </div>
</div>

</body>
</html>